package cn.powerone.scm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.powerone.common.annotation.Excel;
import cn.powerone.common.core.domain.BaseEntity;

/**
 * 序号参数对象 scm_sequence_parm
 * 
 * @author PowerOne
 * @date 2025-08-05
 */
public class ScmSequenceParm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 序号类型 */
    @Excel(name = "序号类型")
    private String seqType;

    /** 序号名称 */
    @Excel(name = "序号名称")
    private String seqName;

    /** 当前序号 */
    @Excel(name = "当前序号")
    private Long seqNumber;

    /** 订单格式 */
    @Excel(name = "订单格式")
    private String orderNumberFormat;

    /** 序号描述 */
    @Excel(name = "序号描述")
    private String seqDesc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSeqType(String seqType) 
    {
        this.seqType = seqType;
    }

    public String getSeqType() 
    {
        return seqType;
    }
    public void setSeqName(String seqName) 
    {
        this.seqName = seqName;
    }

    public String getSeqName() 
    {
        return seqName;
    }
    public void setSeqNumber(Long seqNumber) 
    {
        this.seqNumber = seqNumber;
    }

    public Long getSeqNumber() 
    {
        return seqNumber;
    }
    public void setOrderNumberFormat(String orderNumberFormat) 
    {
        this.orderNumberFormat = orderNumberFormat;
    }

    public String getOrderNumberFormat() 
    {
        return orderNumberFormat;
    }
    public void setSeqDesc(String seqDesc) 
    {
        this.seqDesc = seqDesc;
    }

    public String getSeqDesc() 
    {
        return seqDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("seqType", getSeqType())
            .append("seqName", getSeqName())
            .append("seqNumber", getSeqNumber())
            .append("orderNumberFormat", getOrderNumberFormat())
            .append("seqDesc", getSeqDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
